home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 July / ENTER.ISO / files / setup_mutantstorm_demo.exe / {app} / script / level118.lua < prev    next >
Encoding:
Text File  |  2003-03-11  |  1.3 KB  |  54 lines

  1. cur_level_num = 118
  2.  
  3. dofile("everything.lua")
  4.  
  5. local path = {
  6. -49.1199,  0.806695,  0,
  7. 4.365,  -1.38115,  0,
  8. 57.7147,  -0.906721,  0,
  9. 4.01653,  0.868676,  0,
  10. }
  11. c_add_a_path("pathendoo", 0, 100, 100, 0, 0, 0, path)
  12.  
  13. function LEVEL_start()
  14.         ticker = 0
  15.         pylon_start("egg-1",90.0)
  16.         floor_start_random()
  17.         player_start( 52.7102 , -0.373093 , 0.0 )
  18. end
  19.  
  20. function LEVEL_gameloop()
  21.         everying_gameloop()
  22.  
  23. if ticker == 500 then
  24. actor_plopper( "pathfly_tiny", 60,0,15,     -50.7079,-38.9025,28.104,-25.3223,    -90.0,0.0,    "pathendoo" )
  25. end
  26.  
  27. if ticker == 900 then
  28. actor_plopper( "turret-1_sma", 1,0,0,     -38.3818,-38.3818,33.5112,33.5112,    -90.0,0.0 )
  29. end
  30.  
  31. if ticker == 900 then
  32. actor_plopper( "turret-1_sma", 1,0,0,     -38.3818,-38.3818,-33.7675,-33.7675,    -90.0,0.0 )
  33. end
  34.  
  35. if ticker == 1400 then
  36. actor_plopper( "turret-1_sma", 1,0,0,     -10.0524,-10.0524,40.693,40.693,    -90.0,0.0 )
  37. end
  38.  
  39. if ticker == 1400 then
  40. actor_plopper( "turret-1_sma", 1,0,0,     -10.0524,-10.0524,-40.6839,-40.6839,    -90.0,0.0 )
  41. end
  42.  
  43. if ticker == 1900 then
  44. actor_plopper( "turret-1_med", 1,0,0,     17.6796,17.6796,33.4872,33.4872,    -90.0,0.0 )
  45. end
  46.  
  47. if ticker == 1900 then
  48. actor_plopper( "turret-1_med", 1,0,0,     17.6796,17.6796,-33.1584,-33.1584,    -90.0,0.0 )
  49. c_no_more_beasties_to_come()
  50. end
  51.  
  52. end
  53.  
  54.